package com.bicon.botu.finance.payment.common;


import com.bicon.botu.core.base.common.Constants;

/**
 * Created by L on 2017/6/22.
 */
public interface PaymentConstants extends Constants {

    /**
     * 参数错误
     */
    int RESPONSE_CODE_20000 = 20000;

    String RESPONSE_MESSAGE_20000  = "SYSTEMERROR";

    /**
     * 支付宝支付接口
     */
    String ALIPAY_GATEWAY = "https://openapi.alipay.com/gateway.do";
    //String ALIPAY_GATEWAY = "https://openapi.alipaydev.com/gateway.do";

    /**
     * 微信下单接口
     */
    String WECHAT_BOOKING_ORDER = "https://api.mch.weixin.qq.com/pay/unifiedorder";

    /**
     * 企业付款(转账)接口
     */
    String WECHAT_BOOKING_TRANSFERS= "https://api.mch.weixin.qq.com/mmpaymkttransfers/promotion/transfers";

    /**
     * 查询企业付款(转账)接口
     */
    String WECHAT_BOOKING_TRANSFERINFO= "https://api.mch.weixin.qq.com/mmpaymkttransfers/gettransferinfo";

    /**
     * 微信订单查询接口
     */
    String WECHAT_QUERY_ORDER = "https://api.mch.weixin.qq.com/pay/orderquery";

    /**
     * 微信支付异步通知
     */
    String WEBCHAT_PAY_NOTIFY = "http://botu.botong.tech:9000/life-finance-payment/V1.0.0/static/remote/payNotify/wxpay";

    /**
     * 支付宝支付异步通知
     */
    String ALIPAY_PAY_NOTIFY = "http://app-api.botu.com:9000/life-finance-payment/V1.0.0/static/remote/payNotify/alipay";

    /**
     * 银联支付异步通知
     */
    String UNIONPAY_PAY_NOTIFY = "/notify/unionPay";

    /**
     * 银联提现异步通知
     */
    String UNIONPAY_TRA_NOTIFY = "/notify/unionTra";

    /**
     * 支付宝加密方式
     */
    String ALIPAY_RSA2 = "RSA2";

    /**
     * 字符编码
     */
    String CHARSET = "utf-8";


    /**
     * 转账成功
     */
    String TRANSFER_STATUS_SUCCESS = "1";

    /**
     * 转账失败
     */
    String TRANSFER_STATUS_FAIL= "2";

    /**
     * 支付成功
     */
    String PAY_STATUS_SUCCESS = "1";

    /**
     * 支付失败
     */
    String PAY_STATUS_FAIL= "2";

    /**
     * 支付宝支付请求成功code
     */
    String alipay_trade_refund_code = "10000";
}
